Summarizing data topic
Compute summary statistics.
Functions
-
count(
Iterable< Summarizing datanum?> iterable) → int -
Returns the count of values in the
iterable
. -
count(
Iterable< Summarizing datanum?> iterable) → int -
Returns the count of values in the
iterable
. -
count(
Iterable< Summarizing datanum?> iterable) → int -
Returns the count of values in the
iterable
. -
countBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → int? -
Returns the count of values yielded by the
accessor
function applied to each element in theiterable
. -
countBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → int? -
Returns the count of values yielded by the
accessor
function applied to each element in theiterable
. -
countBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → int? -
Returns the count of values yielded by the
accessor
function applied to each element in theiterable
. -
cumsum(
Iterable< Summarizing datanum?> iterable) → List<num?> -
Returns the cumsum of all values in the
iterable
. -
cumsum(
Iterable< Summarizing datanum?> iterable) → List<num?> -
Returns the cumsum of all values in the
iterable
. -
cumsum(
Iterable< Summarizing datanum?> iterable) → List<num?> -
Returns the cumsum of all values in the
iterable
. -
cumsumBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → List<num> -
Returns the cumsum of all values yielded by the
accessor
function applied to each element in theiterable
, as a list of the same length. -
cumsumBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → List<num> -
Returns the cumsum of all values yielded by the
accessor
function applied to each element in theiterable
, as a list of the same length. -
cumsumBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → List<num> -
Returns the cumsum of all values yielded by the
accessor
function applied to each element in theiterable
, as a list of the same length. -
deviation(
Iterable< Summarizing datanum?> iterable) → num? -
Returns the standard deviation, defined as the square root of the
bias-corrected variance, of all values in the
iterable
. -
deviation(
Iterable< Summarizing datanum?> iterable) → num? -
Returns the standard deviation, defined as the square root of the
bias-corrected variance, of all values in the
iterable
. -
deviation(
Iterable< Summarizing datanum?> iterable) → num? -
Returns the standard deviation, defined as the square root of the
bias-corrected variance, of all values in the
iterable
. -
deviationBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → num? -
Returns the standard deviation, defined as the square root of the
bias-corrected variance, of all values yielded by the
accessor
function applied to each element in theiterable
. -
deviationBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → num? -
Returns the standard deviation, defined as the square root of the
bias-corrected variance, of all values yielded by the
accessor
function applied to each element in theiterable
. -
deviationBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → num? -
Returns the standard deviation, defined as the square root of the
bias-corrected variance, of all values yielded by the
accessor
function applied to each element in theiterable
. -
extent<
T extends Comparable?> (Iterable< Summarizing dataT> iterable) → (T?, T?) -
Returns the minimum and maximum values in the
iterable
. -
extent<
T extends Comparable?> (Iterable< Summarizing dataT> iterable) → (T?, T?) -
Returns the minimum and maximum values in the
iterable
. -
extent<
T extends Comparable?> (Iterable< Summarizing dataT> iterable) → (T?, T?) -
Returns the minimum and maximum values in the
iterable
. -
extentBy<
T, R extends Comparable?> (Iterable< Summarizing dataT> iterable, R accessor(T)) → (R?, R?) -
Returns the minimum and maximum values yielded by the
accessor
function applied to each element in theiterable
. -
extentBy<
T, R extends Comparable?> (Iterable< Summarizing dataT> iterable, R accessor(T)) → (R?, R?) -
Returns the minimum and maximum values yielded by the
accessor
function applied to each element in theiterable
. -
extentBy<
T, R extends Comparable?> (Iterable< Summarizing dataT> iterable, R accessor(T)) → (R?, R?) -
Returns the minimum and maximum values yielded by the
accessor
function applied to each element in theiterable
. -
greatest<
T> (Iterable< Summarizing dataT> iterable, [num comparator(T, T) = ascending]) → T? -
Returns the greatest of all values in the
iterable
according to the specifiedcomparator
. -
greatest<
T> (Iterable< Summarizing dataT> iterable, [num comparator(T, T) = ascending]) → T? -
Returns the greatest of all values in the
iterable
according to the specifiedcomparator
. -
greatest<
T> (Iterable< Summarizing dataT> iterable, [num comparator(T, T) = ascending]) → T? -
Returns the greatest of all values in the
iterable
according to the specifiedcomparator
. -
greatestBy<
T, R> (Iterable< Summarizing dataT> iterable, R accessor(T), [num comparator(R, R) = ascending]) → T? -
Returns the element with the greatest of all values yielded by the
accessor
function applied to each element in theiterable
according to the specifiedcomparator
. -
greatestBy<
T, R> (Iterable< Summarizing dataT> iterable, R accessor(T), [num comparator(R, R) = ascending]) → T? -
Returns the element with the greatest of all values yielded by the
accessor
function applied to each element in theiterable
according to the specifiedcomparator
. -
greatestBy<
T, R> (Iterable< Summarizing dataT> iterable, R accessor(T), [num comparator(R, R) = ascending]) → T? -
Returns the element with the greatest of all values yielded by the
accessor
function applied to each element in theiterable
according to the specifiedcomparator
. -
greatestIndex<
T> (Iterable< Summarizing dataT> iterable, [num comparator(T, T) = ascending]) → int -
Returns the index of the greatest of all values in the
iterable
according to the specifiedcomparator
. -
greatestIndex<
T> (Iterable< Summarizing dataT> iterable, [num comparator(T, T) = ascending]) → int -
Returns the index of the greatest of all values in the
iterable
according to the specifiedcomparator
. -
greatestIndex<
T> (Iterable< Summarizing dataT> iterable, [num comparator(T, T) = ascending]) → int -
Returns the index of the greatest of all values in the
iterable
according to the specifiedcomparator
. -
greatestIndexBy<
T, R> (Iterable< Summarizing dataT> iterable, R accessor(T), [num comparator(R, R) = ascending]) → int -
Returns the index of the element with the greatest of all values yielded by
the
accessor
function applied to each element in theiterable
according to the specifiedcomparator
. -
greatestIndexBy<
T, R> (Iterable< Summarizing dataT> iterable, R accessor(T), [num comparator(R, R) = ascending]) → int -
Returns the index of the element with the greatest of all values yielded by
the
accessor
function applied to each element in theiterable
according to the specifiedcomparator
. -
greatestIndexBy<
T, R> (Iterable< Summarizing dataT> iterable, R accessor(T), [num comparator(R, R) = ascending]) → int -
Returns the index of the element with the greatest of all values yielded by
the
accessor
function applied to each element in theiterable
according to the specifiedcomparator
. -
least<
T> (Iterable< Summarizing dataT> iterable, [num comparator(T, T) = ascending]) → T? -
Returns the least of all values in the
iterable
according to the specifiedcomparator
. -
least<
T> (Iterable< Summarizing dataT> iterable, [num comparator(T, T) = ascending]) → T? -
Returns the least of all values in the
iterable
according to the specifiedcomparator
. -
least<
T> (Iterable< Summarizing dataT> iterable, [num comparator(T, T) = ascending]) → T? -
Returns the least of all values in the
iterable
according to the specifiedcomparator
. -
leastBy<
T, R> (Iterable< Summarizing dataT> iterable, R accessor(T), [num comparator(R, R) = ascending]) → T? -
Returns the element with the least of all values yielded by the
accessor
function applied to each element in theiterable
according to the specifiedcomparator
. -
leastBy<
T, R> (Iterable< Summarizing dataT> iterable, R accessor(T), [num comparator(R, R) = ascending]) → T? -
Returns the element with the least of all values yielded by the
accessor
function applied to each element in theiterable
according to the specifiedcomparator
. -
leastBy<
T, R> (Iterable< Summarizing dataT> iterable, R accessor(T), [num comparator(R, R) = ascending]) → T? -
Returns the element with the least of all values yielded by the
accessor
function applied to each element in theiterable
according to the specifiedcomparator
. -
leastIndex<
T> (Iterable< Summarizing dataT> iterable, [num comparator(T, T) = ascending]) → int -
Returns the index of the least of all values in the
iterable
according to the specifiedcomparator
. -
leastIndex<
T> (Iterable< Summarizing dataT> iterable, [num comparator(T, T) = ascending]) → int -
Returns the index of the least of all values in the
iterable
according to the specifiedcomparator
. -
leastIndex<
T> (Iterable< Summarizing dataT> iterable, [num comparator(T, T) = ascending]) → int -
Returns the index of the least of all values in the
iterable
according to the specifiedcomparator
. -
leastIndexBy<
T, R> (Iterable< Summarizing dataT> iterable, R accessor(T), [num comparator(R, R) = ascending]) → int -
Returns the index of the element with the least of all values yielded by
the
accessor
function applied to each element in theiterable
according to the specifiedcomparator
. -
leastIndexBy<
T, R> (Iterable< Summarizing dataT> iterable, R accessor(T), [num comparator(R, R) = ascending]) → int -
Returns the index of the element with the least of all values yielded by
the
accessor
function applied to each element in theiterable
according to the specifiedcomparator
. -
leastIndexBy<
T, R> (Iterable< Summarizing dataT> iterable, R accessor(T), [num comparator(R, R) = ascending]) → int -
Returns the index of the element with the least of all values yielded by
the
accessor
function applied to each element in theiterable
according to the specifiedcomparator
. -
max<
T extends Comparable?> (Iterable< Summarizing dataT> iterable) → T? -
Returns the maximum of all values in the
iterable
. -
max<
T extends Comparable?> (Iterable< Summarizing dataT> iterable) → T? -
Returns the maximum of all values in the
iterable
. -
max<
T extends Comparable?> (Iterable< Summarizing dataT> iterable) → T? -
Returns the maximum of all values in the
iterable
. -
maxBy<
T, R extends Comparable?> (Iterable< Summarizing dataT> iterable, R accessor(T)) → R? -
Returns the maximum of all values yielded by the
accessor
function applied to each element in theiterable
. -
maxBy<
T, R extends Comparable?> (Iterable< Summarizing dataT> iterable, R accessor(T)) → R? -
Returns the maximum of all values yielded by the
accessor
function applied to each element in theiterable
. -
maxBy<
T, R extends Comparable?> (Iterable< Summarizing dataT> iterable, R accessor(T)) → R? -
Returns the maximum of all values yielded by the
accessor
function applied to each element in theiterable
. -
maxIndex<
T extends Comparable?> (Iterable< Summarizing dataT> iterable) → int -
Returns the index of the maximum of all values in the
iterable
. -
maxIndex<
T extends Comparable?> (Iterable< Summarizing dataT> iterable) → int -
Returns the index of the maximum of all values in the
iterable
. -
maxIndex<
T extends Comparable?> (Iterable< Summarizing dataT> iterable) → int -
Returns the index of the maximum of all values in the
iterable
. -
maxIndexBy<
T, R extends Comparable?> (Iterable< Summarizing dataT> iterable, R accessor(T)) → int -
Returns the index of the maximum of all values yielded by the
accessor
function applied to each element in theiterable
. -
maxIndexBy<
T, R extends Comparable?> (Iterable< Summarizing dataT> iterable, R accessor(T)) → int -
Returns the index of the maximum of all values yielded by the
accessor
function applied to each element in theiterable
. -
maxIndexBy<
T, R extends Comparable?> (Iterable< Summarizing dataT> iterable, R accessor(T)) → int -
Returns the index of the maximum of all values yielded by the
accessor
function applied to each element in theiterable
. -
mean(
Iterable< Summarizing datanum?> iterable) → num? -
Returns the mean of all values in the
iterable
. -
mean(
Iterable< Summarizing datanum?> iterable) → num? -
Returns the mean of all values in the
iterable
. -
mean(
Iterable< Summarizing datanum?> iterable) → num? -
Returns the mean of all values in the
iterable
. -
meanBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → num? -
Returns the mean of all values yielded by the
accessor
function applied to each element in theiterable
. -
meanBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → num? -
Returns the mean of all values yielded by the
accessor
function applied to each element in theiterable
. -
meanBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → num? -
Returns the mean of all values yielded by the
accessor
function applied to each element in theiterable
. -
median(
Iterable< Summarizing datanum?> iterable) → num? -
Returns the median of all values in the
iterable
using the R-7 method. -
median(
Iterable< Summarizing datanum?> iterable) → num? -
Returns the median of all values in the
iterable
using the R-7 method. -
median(
Iterable< Summarizing datanum?> iterable) → num? -
Returns the median of all values in the
iterable
using the R-7 method. -
medianBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → num? -
Returns the median of all values yielded by the
accessor
function applied to each element in theiterable
using the R-7 method. -
medianBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → num? -
Returns the median of all values yielded by the
accessor
function applied to each element in theiterable
using the R-7 method. -
medianBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → num? -
Returns the median of all values yielded by the
accessor
function applied to each element in theiterable
using the R-7 method. -
medianIndex(
Iterable< Summarizing datanum?> values) → int? - Similar to median, but returns the index of the value to the left of the median.
-
medianIndex(
Iterable< Summarizing datanum?> values) → int? - Similar to median, but returns the index of the value to the left of the median.
-
medianIndex(
Iterable< Summarizing datanum?> values) → int? - Similar to median, but returns the index of the value to the left of the median.
-
medianIndexBy<
T> (Iterable< Summarizing dataT> values, num? accessor(T)) → int? - Similar to medianBy, but returns the index of the element that yields the value to the left of the median.
-
medianIndexBy<
T> (Iterable< Summarizing dataT> values, num? accessor(T)) → int? - Similar to medianBy, but returns the index of the element that yields the value to the left of the median.
-
medianIndexBy<
T> (Iterable< Summarizing dataT> values, num? accessor(T)) → int? - Similar to medianBy, but returns the index of the element that yields the value to the left of the median.
-
min<
T extends Comparable?> (Iterable< Summarizing dataT> iterable) → T? -
Returns the minimum of all values in the
iterable
. -
min<
T extends Comparable?> (Iterable< Summarizing dataT> iterable) → T? -
Returns the minimum of all values in the
iterable
. -
min<
T extends Comparable?> (Iterable< Summarizing dataT> iterable) → T? -
Returns the minimum of all values in the
iterable
. -
minBy<
T, R extends Comparable?> (Iterable< Summarizing dataT> iterable, R accessor(T)) → R? -
Returns the minimum of all values yielded by the
accessor
function applied to each element in theiterable
. -
minBy<
T, R extends Comparable?> (Iterable< Summarizing dataT> iterable, R accessor(T)) → R? -
Returns the minimum of all values yielded by the
accessor
function applied to each element in theiterable
. -
minBy<
T, R extends Comparable?> (Iterable< Summarizing dataT> iterable, R accessor(T)) → R? -
Returns the minimum of all values yielded by the
accessor
function applied to each element in theiterable
. -
minIndex<
T extends Comparable?> (Iterable< Summarizing dataT> iterable) → int -
Returns the index of the minimum of all values in the
iterable
. -
minIndex<
T extends Comparable?> (Iterable< Summarizing dataT> iterable) → int -
Returns the index of the minimum of all values in the
iterable
. -
minIndex<
T extends Comparable?> (Iterable< Summarizing dataT> iterable) → int -
Returns the index of the minimum of all values in the
iterable
. -
minIndexBy<
T, R extends Comparable?> (Iterable< Summarizing dataT> iterable, R accessor(T)) → int -
Returns the index of the minimum of all values yielded by the
accessor
function applied to each element in theiterable
. -
minIndexBy<
T, R extends Comparable?> (Iterable< Summarizing dataT> iterable, R accessor(T)) → int -
Returns the index of the minimum of all values yielded by the
accessor
function applied to each element in theiterable
. -
minIndexBy<
T, R extends Comparable?> (Iterable< Summarizing dataT> iterable, R accessor(T)) → int -
Returns the index of the minimum of all values yielded by the
accessor
function applied to each element in theiterable
. -
mode<
T> (Iterable< Summarizing dataT> iterable) → T? -
Returns the mode of all values in the
iterable
, i.e., the value which appears the most often. -
mode<
T> (Iterable< Summarizing dataT> iterable) → T? -
Returns the mode of all values in the
iterable
, i.e., the value which appears the most often. -
mode<
T> (Iterable< Summarizing dataT> iterable) → T? -
Returns the mode of all values in the
iterable
, i.e., the value which appears the most often. -
modeBy<
T, R> (Iterable< Summarizing dataT> iterable, R accessor(T)) → R? -
Returns the mode of all values yielded by the
accessor
function applied to each element in theiterable
, i.e., the value which appears the most often. -
modeBy<
T, R> (Iterable< Summarizing dataT> iterable, R accessor(T)) → R? -
Returns the mode of all values yielded by the
accessor
function applied to each element in theiterable
, i.e., the value which appears the most often. -
modeBy<
T, R> (Iterable< Summarizing dataT> iterable, R accessor(T)) → R? -
Returns the mode of all values yielded by the
accessor
function applied to each element in theiterable
, i.e., the value which appears the most often. -
quantile(
Iterable< Summarizing datanum?> iterable, num p) → num? -
Returns the
p
-quantile of all values in theiterable
, wherep
is a number in the range [0, 1]. -
quantile(
Iterable< Summarizing datanum?> iterable, num p) → num? -
Returns the
p
-quantile of all values in theiterable
, wherep
is a number in the range [0, 1]. -
quantile(
Iterable< Summarizing datanum?> iterable, num p) → num? -
Returns the
p
-quantile of all values in theiterable
, wherep
is a number in the range [0, 1]. -
quantileBy<
T> (Iterable< Summarizing dataT> iterable, num p, num? accessor(T)) → num? -
Returns the
p
-quantile of all values yielded by theaccessor
function applied to each element in theiterable
, wherep
is a number in the range [0, 1]. -
quantileBy<
T> (Iterable< Summarizing dataT> iterable, num p, num? accessor(T)) → num? -
Returns the
p
-quantile of all values yielded by theaccessor
function applied to each element in theiterable
, wherep
is a number in the range [0, 1]. -
quantileBy<
T> (Iterable< Summarizing dataT> iterable, num p, num? accessor(T)) → num? -
Returns the
p
-quantile of all values yielded by theaccessor
function applied to each element in theiterable
, wherep
is a number in the range [0, 1]. -
quantileIndex(
Iterable< Summarizing datanum?> iterable, num p) → int? -
Similar to quantile, but returns the index to the left of
p
. -
quantileIndex(
Iterable< Summarizing datanum?> iterable, num p) → int? -
Similar to quantile, but returns the index to the left of
p
. -
quantileIndex(
Iterable< Summarizing datanum?> iterable, num p) → int? -
Similar to quantile, but returns the index to the left of
p
. -
quantileIndexBy<
T> (Iterable< Summarizing dataT> values, num p, num? accessor(T)) → int? -
Similar to quantileBy, but returns the index to the left of
p
. -
quantileIndexBy<
T> (Iterable< Summarizing dataT> values, num p, num? accessor(T)) → int? -
Similar to quantileBy, but returns the index to the left of
p
. -
quantileIndexBy<
T> (Iterable< Summarizing dataT> values, num p, num? accessor(T)) → int? -
Similar to quantileBy, but returns the index to the left of
p
. -
quantileSorted(
Iterable< Summarizing datanum?> values, num p) → num? - Similar to quantile, but expects the input to be sorted.
-
quantileSorted(
Iterable< Summarizing datanum?> values, num p) → num? - Similar to quantile, but expects the input to be sorted.
-
quantileSorted(
Iterable< Summarizing datanum?> values, num p) → num? - Similar to quantile, but expects the input to be sorted.
-
quantileSortedBy<
T> (Iterable< Summarizing dataT> values, num p, num? accessor(T)) → num? -
Similar to quantileBy, but expects the input to be sorted. In contrast
with quantileBy, the
accessor
is only called on the elements needed to compute the quantile. -
quantileSortedBy<
T> (Iterable< Summarizing dataT> values, num p, num? accessor(T)) → num? -
Similar to quantileBy, but expects the input to be sorted. In contrast
with quantileBy, the
accessor
is only called on the elements needed to compute the quantile. -
quantileSortedBy<
T> (Iterable< Summarizing dataT> values, num p, num? accessor(T)) → num? -
Similar to quantileBy, but expects the input to be sorted. In contrast
with quantileBy, the
accessor
is only called on the elements needed to compute the quantile. -
rank<
T> (Iterable< Summarizing dataT> iterable, [num comparator(T, T) = ascending]) → List<num> -
Returns an list with the rank of each value in the
iterable
, i.e., the zero-based index of the value when the iterable is sorted. -
rank<
T> (Iterable< Summarizing dataT> iterable, [num comparator(T, T) = ascending]) → List<num> -
Returns an list with the rank of each value in the
iterable
, i.e., the zero-based index of the value when the iterable is sorted. -
rank<
T> (Iterable< Summarizing dataT> iterable, [num comparator(T, T) = ascending]) → List<num> -
Returns an list with the rank of each value in the
iterable
, i.e., the zero-based index of the value when the iterable is sorted. -
rankBy<
T, R> (Iterable< Summarizing dataT> iterable, R accessor(T), [num comparator(R, R) = ascending]) → List<num> -
Returns an list with the rank of each element in the
iterable
, i.e., the zero-based index of the element when the iterable is sorted based on the values yielded by theaccessor
function. -
rankBy<
T, R> (Iterable< Summarizing dataT> iterable, R accessor(T), [num comparator(R, R) = ascending]) → List<num> -
Returns an list with the rank of each element in the
iterable
, i.e., the zero-based index of the element when the iterable is sorted based on the values yielded by theaccessor
function. -
rankBy<
T, R> (Iterable< Summarizing dataT> iterable, R accessor(T), [num comparator(R, R) = ascending]) → List<num> -
Returns an list with the rank of each element in the
iterable
, i.e., the zero-based index of the element when the iterable is sorted based on the values yielded by theaccessor
function. -
sum(
Iterable< Summarizing datanum?> iterable) → num -
Returns the sum of all values in the
iterable
. -
sum(
Iterable< Summarizing datanum?> iterable) → num -
Returns the sum of all values in the
iterable
. -
sum(
Iterable< Summarizing datanum?> iterable) → num -
Returns the sum of all values in the
iterable
. -
sumBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → num -
Returns the sum of all values yielded by the
accessor
function applied to each element in theiterable
. -
sumBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → num -
Returns the sum of all values yielded by the
accessor
function applied to each element in theiterable
. -
sumBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → num -
Returns the sum of all values yielded by the
accessor
function applied to each element in theiterable
. -
variance(
Iterable< Summarizing datanum?> iterable) → num? -
Returns an unbiased estimator of the population variance
of all values in the
iterable
using Welford’s algorithm. -
variance(
Iterable< Summarizing datanum?> iterable) → num? -
Returns an unbiased estimator of the population variance
of all values in the
iterable
using Welford’s algorithm. -
variance(
Iterable< Summarizing datanum?> iterable) → num? -
Returns an unbiased estimator of the population variance
of all values in the
iterable
using Welford’s algorithm. -
varianceBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → num? -
Returns an unbiased estimator of the population variance
of all values yielded by the
accessor
function applied to each element in theiterable
using Welford’s algorithm. -
varianceBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → num? -
Returns an unbiased estimator of the population variance
of all values yielded by the
accessor
function applied to each element in theiterable
using Welford’s algorithm. -
varianceBy<
T> (Iterable< Summarizing dataT> iterable, num? accessor(T)) → num? -
Returns an unbiased estimator of the population variance
of all values yielded by the
accessor
function applied to each element in theiterable
using Welford’s algorithm.